Release 10.1A: OpenEdge Development:
Messaging and ESB
Message life cycle
A 4GL-JMS message has a life cycle for sending and a life cycle for receiving.
![]()
To manage the sending life cycle of a 4GL-JMS message:
- Create a message by running one of the following procedures in the Session object: createBytesMessage procedure, createDataSetMessage procedure, createHeaderMessage procedure, createMapMessage procedure, createMultipartMessage procedure, createStreamMessage procedure, createTempTableMessage procedure, or createXMLMessage procedure.
- Populate a message by running
set...andwrite...for header and data information.- Send the message to a destination.
- Run the deleteMessage procedure to delete the message.
![]()
To manage the receiving life cycle of a 4GL-JMS message:
- Receive a message in a Message Consumer object.
- Run
get...andread...to extract header information and body data.- Run the deleteMessage procedure to delete the message.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |